{$header}
<html {$html_attrs}>
<head><title>Execução</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {width:100%}
#header_block{$id} {width:100%;white-space:nowrap;height:31px;padding:5px 0;}
#fields_block{$id} {width:100%}
#fields_block{$id} td {padding-left:10px}
#buttons_block{$id} {width:100%;padding-bottom:5px;text-align:center}
#required_block{$id} {text-align:left;padding:5px}
#span{$id} {margin:0 20px 0 20px;}
</style>
</head>
<body>
{BEGIN body}

{BEGIN editForm}
<div id='errOutput' class="errOutput"></div>
<div class="zpFormContent">

<table width="95%" align="center" id="center_block{$id}">
  <tr><td id="contents_block{$id}">

<div id="header_block{$id}">
<h1>
Execução, Editar registro [
ID: {$show_key1}
]
</h1>
</div>
{BEGIN message_block}
<DIV id="message_block{$id}" class="downedit">
{$message}
</div>
{END message_block}

<div align=left><hr width="100%" noshade size=1></div>
&nbsp;&nbsp;&nbsp;<a href="execucao_list.php?a=return"><img src="botoes/bt_voltar.gif" alt="Voltar" width="58" height="20" border="0"></a><a href="execucao_list.php?a=return" {$backbutton_attrs}></a><br>
<br>




<div id="buttons_block{$id}">
<br>&nbsp;&nbsp;&nbsp;<a href="execucao_list.php?a=return" {$backbutton_attrs}></a>
<div align=left><hr width="100%" noshade size=1></div>
{BEGIN legend}
<div id="required_block{$id}" ><img alt="bullet" src="images/icon_required.gif"> - Preenchimento Obrigatório</div>
{END legend}
{$legendBreak}
{BEGIN save_button}
 <input name="input" type="image" value="submit" src="botoes/bt_gravar.gif" >
{END save_button}
{BEGIN reset_button}
 <input name="input" type="image" value="submit" src="botoes/bt_cancelar.gif" >
{END reset_button}
<span id="span{$id}">&nbsp;</span>
{BEGIN prev_button}
<input id="prev{$id}" class=button type=reset value=" <<< " {$prevbutton_attrs}>
{END prev_button}
{BEGIN next_button}
<input id="next{$id}" class=button type=reset value=" >>> " {$nextbutton_attrs}>
{END next_button}
</div>
</td></tr></table>
</div>
{END editForm}
{BEGIN detail_tables}
{END detail_tables}
<br><br>

{END body}
<script src="templates_js/execucao_edit.js" charset="iso-8859-1"></script>
<script>

new Zapatec.Form({
	form: 'editform1',
	showErrors: 'afterField',
	showErrorsOnSubmit: false,
	submitErrorFunc: testErrOutput,
	theme: "alternate"
});
</script>
</body>
</html>
{$footer}